//
//  ViewController.h
//  TestLocation
//
//  Created by changlinwang on 14-9-10.
//  Copyright (c) 2014年 gem. All rights reserved.
//

#import <UIKit/UIKit.h>

#import <CoreLocation/CoreLocation.h>

@interface ViewController : UIViewController<CLLocationManagerDelegate>

@property (weak, nonatomic) IBOutlet UILabel *latigude;

@property (weak, nonatomic) IBOutlet UILabel *longitude;
@property (weak, nonatomic) IBOutlet UISwitch *toggle;

//用这个对象进行定位  获取经度和纬度信息
@property (nonatomic)CLLocationManager *locationManage;
- (IBAction)toggleSwitch:(id)sender;

@end
